package net.NingXiaRuiTai.ShortChain.service;


import com.baomidou.mybatisplus.extension.service.IService;
import net.NingXiaRuiTai.ShortChain.controller.request.LinkGroupAddRequest;
import net.NingXiaRuiTai.ShortChain.controller.request.LinkGroupUpdateRequest;
import net.NingXiaRuiTai.ShortChain.model.LinkGroupDO;

import net.NingXiaRuiTai.ShortChain.model.VO.LinkGroupVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yuan
 * @since 2025-02-16
 */
public interface LinkGroupService extends IService<LinkGroupDO> {
//新增分组
    int add(LinkGroupAddRequest addRequest);
//删除分组
    int del(Long groupId);

    LinkGroupVO detail(Long groupId);

    List<LinkGroupVO> listAllGroup();


    int updateById(LinkGroupUpdateRequest updateRequest);
}
